.dashboard-home-container {
  font-size: 14px;

  .dashboard-home-content {
    position: relative;
  }

  a.github-corner.github-corner {
    position: absolute;
    right: 0;
    top: 0;
  }

  .header {
    display: flex;
    justify-content: space-between;
    padding-left: 5px;
    margin-bottom: 20px;

    .header-title {
      font-size: 16px;
      font-weight: 900;
      color: #323233;
      display: inline-flex;
      align-items: center;

      p {
        display: inline-block;
        font-size: 14px;
        color: #969799;
        margin-left: 7px;
        font-weight: 400;
      }
    }
  }

  .home-box {
    position: relative;
    padding: 0 20px;

    .home-box-row {
      display: flex;
      align-items: start;
      padding: 0 20px;
      justify-content: flex-start;
      box-sizing: border-box;

      .box-col {
        width: 50%;
        box-sizing: border-box;
        display: flex;
        flex-wrap: wrap;

        &:first-child {
          padding-right: 56px;
          border-right: 1px solid #efefef;
        }

        &:nth-child(2) {
          padding-left: 56px;
          border-right: 0;
        }

        .box-col-item {
          width: 50%;
          box-sizing: border-box;
          display: block;

          &:nth-child(3), &:nth-child(4) {
            margin-top: 30px;
          }
        }
      }

      .overview-data-item {
        color: #323233;
        font-size: 12px;
        text-align: left;
        height: 85px;

        .data-item-title {
          font-size: 14px;
          line-height: 14px;
          color: #969799;
        }

        .data-item-amount {
          position: relative;
          cursor: pointer;
          display: inline-block;
          margin: 15px 0 13px;
          color: #333;
          font-size: 16px;
          font-weight: bolder;

          &:hover {
            color: #155bd4;
          }

          .amount-today {
            font-size: 28px;
          }

          .amount-icon {
            display: inline-block;
            margin-left: 4px;
            vertical-align: top;
            margin-top: 8px;
            font-size: 18px;
          }

          .el-icon-bottom {
            color: #66be74;
          }

          .el-icon-top {
            color: #df4545;
          }
        }

        .data-item-amount-yesterday {
          color: #666;
          font-size: 14px;
          line-height: 14px;
        }
      }
    }
  }

  .main-widget-container {
    margin-top: 20px;
  }

  .main-widget-box {
    display: flex;

    .main-widget-left {
      padding: 0;
      border-right: 1px solid #e5e5e5;
      margin: 0 30px 4px 0;

      .header {
        margin-bottom: 40px;
      }
    }

    .main-widget-right {
      flex: 1;
      text-align: center;
    }

    .progress-block {
      position: relative;
      text-align: center;
      padding: 0 44px;

      .progress-text {
        position: absolute;
        top: 50%;
        transform: translateY(-50%) translateX(-50%);
        left: 50%;

        p {
          color: #969799;

          span {
            color: #df4545;
            font-size: 40px;
          }
        }
      }

    }

    .main-btn {
      padding: 12px 0 0;
      text-align: center;
    }
  }

  .home-tabs {
    margin-bottom: 15px;

    .el-tabs--border-card {
      box-shadow: none;
      border-bottom: none;
    }

    .el-tabs__content {
      display: none;
    }
  }

  .home-tabs-content {
    height: 250px;
    overflow-y: auto;

    .major-data-block {
      display: flex;
      flex-wrap: wrap;
      padding: 16px 16px 16px 0;
      background-color: #f7f8fa;

      > div {
        flex-basis: 33%;
        display: flex;
        align-items: baseline;

        &:first-child {
          margin-bottom: 14px;
        }

        .major-data-title {
          margin-right: 10px;
          display: inline-block;
          min-width: 120px;
          width: 50%;
          text-align: right;
          font-size: 14px;
          color: #323233;
        }

        .major-data-count {
          font-size: 18px;
          font-weight: 700;
          color: #df4545;
        }
      }
    }

    .main-assistant-item-block {
      padding-bottom: 12px;
      margin-left: 25px;

      .main-assistant-item {
        margin-top: 16px;
        line-height: 18px;
        display: flex;
        align-items: center;
        font-size: 14px;
        text-align: left;

        .el-button {
          padding: 0;
          font-size: 14px;
          margin-left: 38px;
        }

        .item-desc {
          position: relative;
          flex: 1;
          margin-left: 4px;

          &:before {
            content: "";
            position: absolute;
            left: -25px;
            top: 1px;
            height: 16px;
            width: 16px;
            background-size: 16px;
            background-repeat: no-repeat;
            background-image: url(/img/common/red-flag.png);
          }

          .sub-desc {
            color: #969799;
            padding-left: 10px;
          }
        }
      }
    }
  }

  .home-new-common {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;

    .home-new-common-item {
      position: relative;
      box-sizing: border-box;
      flex-basis: 25%;
      color: #323233;
      padding-left: 35px;
      display: -ms-flexbox;
      display: flex;
      line-height: 30px;
      margin-top: 24px;
      cursor: pointer;
      transition: all .2s;

      &:hover, &:active {
        color: rgba(50, 50, 51, 0.75);

        i {
          opacity: 0.75;
        }
      }

      i {
        display: inline-block;
        width: 30px;
        height: 30px;
        border-radius: 4px;
        margin-right: 10px;
        background: #4d90fe;
      }
    }
  }
}

